package com.liyy.platform.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
//import org.springframework.data.annotation.Version;
//import org.springframework.data.elasticsearch.annotations.Document;

//@Document(indexName = "platform", type = "productImage")
@Data
  public class GoodsImage {
   // 主键id
   private Long id;
   // 商品
   private Long goodsId;
   // 图片路径
   private String goodsImgPath;

    @JsonIgnore
//    @Version
    private Long version;

}
